toggle menu
JxBrowser
8.1.0
jvm
switch theme
search in API
JxBrowser
/
com.teamdev.jxbrowser.ui.event
/
[jvm]KeyPressed
Key
Pressed
interface
KeyPressed
:
KeyEvent
An event indicating that a keyboard key has been pressed.
Members
Types
Builder
Link copied to clipboard
class
Builder
A builder of
KeyPressed
.
Functions
key
Char
Link copied to clipboard
open
fun
keyChar
(
)
:
Char
Returns the character corresponding to the pressed key or 0 when a keyboard modifier such as Shift, Ctrl, Alt, Command, Win etc.
key
Code
Link copied to clipboard
open
fun
keyCode
(
)
:
KeyCode
Returns the code of the key.
key
Location
Link copied to clipboard
open
fun
keyLocation
(
)
:
KeyLocation
Returns the location of the key on the keyboard.
key
Modifiers
Link copied to clipboard
open
fun
keyModifiers
(
)
:
KeyModifiers
Returns the keyboard modifiers applied.
new
Builder
Link copied to clipboard
open
fun
newBuilder
(
keyCode
:
KeyCode
)
:
KeyPressed.Builder
Creates a new
KeyPressed
builder with the given required parameters.